package com.oct.website.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Select;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.oct.website.entity.Avgthi;
import com.oct.website.entity.TravelDataResultView;

public interface AvgThiMapper extends BaseMapper<Avgthi>{
	
	
	@Select("select * from oct_iri_website_avgthi where left(month_str, 4) >=#{currYear}-1 order by month_str")
	List<Avgthi> selectTwoYearData(int currYear);
	
}
